package at.fhj.itm.jface;

import org.eclipse.jface.viewers.LabelProvider;

import at.fhj.itm.metadata.MetadataItem;

public class MetadataItemLabelProvider extends LabelProvider {

	@Override
	public String getText(Object element) {
		if(element instanceof MetadataItem){
			return ((MetadataItem) element).getName();
		}
		return null;
	}
}
